//
//  UIViewController+Ext.h
//  mf
//
//  Created by JCai on 2017/4/23.
//  Copyright © 2017年 fenmi. All rights reserved.
//


#import <UIKit/UIKit.h>
//#import "AppDefines.h"
#import "Masonry.h"
#import "MBProgressHUD.h"

@interface  UIViewController (UINavigationController)

- (void)setNavColor:(UIColor *)navColor;

#pragma mark - 设置标题
- (void)setNavTitle:(NSString *)title;

#pragma mark -
- (void)setNavBack;

- (void)setNavBackController;

#pragma mark -
- (void)setNavNull;

- (void)setBackImage:(UIImage *)backImage;

#pragma mark 设置导航文本按钮(judge为YES代表右侧按钮反之左侧)
- (void)setNavBarButton:(NSString *)title
                      action:(SEL)action WithJudge:(BOOL)judge;
- (void)setNavRightBarButton:(CGRect)frame
                       title:(NSString *)title
                      action:(SEL)action
                 normalImage:(UIImage *)normalImage
              highlightImage:(UIImage *)highlightImage WithJudge:(BOOL)judge;

@end
